import { apiClient } from './client';
import type { UploadResponse } from '../../types/common';

export const commonApi = {
  // Upload file
  upload: async (formData: FormData): Promise<UploadResponse> => {
    return apiClient.post('/api/v1/common/upload', formData, {
      headers: {
        'Content-Type': 'multipart/form-data',
      },
    });
  },
};
